package cn.edu.zut.logistics.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@TableName("transportation_efficiency_metrics")
public class TransportationEfficiencyMetrics {

    @TableId("metric_id")
    private Integer metricId;

    @TableField("statistics_date")
    private LocalDate statisticsDate;

    @TableField("transport_mode")
    private String transportMode;

    @TableField("planned_transport_trips")
    private Integer plannedTransportTrips;

    @TableField("actual_completed_trips")
    private Integer actualCompletedTrips;

    @TableField("on_time_rate")
    private BigDecimal onTimeRate;

    @TableField("average_delay_time")
    private BigDecimal averageDelayTime;

    @TableField("transport_cost")
    private BigDecimal transportCost;

    @TableField("create_time")
    private LocalDateTime createTime;
}